package com.bw.bean;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Component

public class ExcelBean {

    @ExcelProperty("学生id")
    private Integer sid;

    @ExcelProperty("学生姓名")
    private String sname;

    @ExcelProperty("所在宿舍")
    private String rname;
}
